package com.cn.crmsystem.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
@ApiModel(value = "请假")
public class Leave implements Serializable {
  @Id
  @ApiModelProperty("主键id")
  private Integer leave_Id;
  @ApiModelProperty("请假类型(0:年假)")
  private Integer type;
  @ApiModelProperty("审批内容")
  private String context;
  @ApiModelProperty("开始时间")
  private java.util.Date begin_Date;
  @ApiModelProperty("结束时间")
  private java.util.Date end_Date;
  @ApiModelProperty("时长")
  private String duration;
  @ApiModelProperty("备注")
  private String remarks;
  @ApiModelProperty("删除状态（0表示显示该数据，1表示不显示）")
  private Integer delete_State;
  @ApiModelProperty("路径(证明)")
  private String img_Url;
  @ApiModelProperty("员工id(外键)")
  private Integer create_Id;

  public Integer getLeave_Id() {
    return leave_Id;
  }

  public void setLeave_Id(Integer leave_Id) {
    this.leave_Id = leave_Id;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getContext() {
    return context;
  }

  public void setContext(String context) {
    this.context = context;
  }

  public Date getBegin_Date() {
    return begin_Date;
  }

  public void setBegin_Date(Date begin_Date) {
    this.begin_Date = begin_Date;
  }

  public Date getEnd_Date() {
    return end_Date;
  }

  public void setEnd_Date(Date end_Date) {
    this.end_Date = end_Date;
  }

  public String getDuration() {
    return duration;
  }

  public void setDuration(String duration) {
    this.duration = duration;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public Integer getDelete_State() {
    return delete_State;
  }

  public void setDelete_State(Integer delete_State) {
    this.delete_State = delete_State;
  }

  public String getImg_Url() {
    return img_Url;
  }

  public void setImg_Url(String img_Url) {
    this.img_Url = img_Url;
  }

  public Integer getCreate_Id() {
    return create_Id;
  }

  public void setCreate_Id(Integer create_Id) {
    this.create_Id = create_Id;
  }
}
